Release 10.1A: OpenEdge Application Server:
Administration
Editing the properties file
OpenEdge stores the configurations for both the NameServer and AppServer products in a properties file (
ubroker.properties). The UNIX and Windowsubroker.propertiesfiles are the same except for platform-specific differences (for example, differences in directory path separators, and the differences between environment variable references on UNIX and registry references in Windows).The properties file stores all the configuration definitions for all instances of the NameServer, and all instances of any AppServer, AppServer Internet Adapter, WebSpeed Server, Web Services Adapter, OpenEdge Adapter for SonicMQ, and DataServer product that run on the same machine. Each configuration definition contains environment variables, registry entries (if Windows), and property settings for each product instance.
There is one copy of this file for each OpenEdge installation. Thus, if you install the NameServer on a separate machine from the AppServer product that it manages, the NameServer and AppServer product each have their own copy of the
ubroker.propertiesfile.The AdminServer reads and updates this file according to your instructions using the Progress Explorer and management utilities. The
ubroker.propertiesfile is installed in thepropertiessubdirectory of the OpenEdge installation directory (for example,OpenEdge-Install-Directory/properties/ubroker.propertieson UNIX, orOpenEdge-Install-Directory\properties\ubroker.propertiesin Windows). For the AdminServer to access the properties file, the file must reside in this directory.Guidelines for editing the properties file
When editing the
ubroker.propertiesfile without the Progress Explorer, note that:
Note: You can use the- You should not directly change the values in the
ubroker.propertiesfile unless you have a complete understanding of how the changes affect components. When possible, always use the Progress Explorer to make all changes to this file.mergeproputility installed with OpenEdge to manually edit theubroker.propertiesfile. For information on usingmergeprop, see OpenEdge Getting Started: Installation and Configuration .- Always make a copy of this file, edit the copy, and verify the result before replacing the original with your edited copy.
- For complete definitions of all the properties and detailed information on how to set them, see the
ubroker.properties.READMEfile, as well as the comments included in the properties file itself. Both files reside in thepropertiesdirectory.The file consists of a hierarchical structure of configuration entities, where parent entities provide configuration information that you can override or extend in each child entity. Each configuration entity has a name that begins the entity definition, and the definition contains configuration settings for one or more products or product instances.
AppServer entries in the properties file
The AppServer configurations in
ubroker.propertiescan include the entities listed in Table 2–2.
Thus, parent entities provide default values for all of their child entities. For example, the parent
[UBroker]contains a set of definitions that can be inherited by its child AppServer product[UBroker.AS]and any other product entities, and then again by its child[UBroker.AS.product-instance-name] and any other product instance entities. However, at any child level, a redefinition of any value supersedes the default value of its parent. All children from the redefinition level down inherit this new value.Editing and validating the properties file
To edit the properties file directly, use a text editor such as
vior Notepad. Once you edit the properties file, use the following utilities to validate the AppServer configuration information in the file:
NSCONFIGutility — To validate NameServer configurations. For more information on this utility, see OpenEdge Getting Started: Installation and Configuration .ASCONFIGutility — To validate AppServer configurations. This section describes how to use this utility.If the file contains any other OpenEdge server configurations (such as for WebSpeed or the OpenEdge Adapter for SonicMQ), run the configuration validation utilities for those Unified Broker products to ensure that these configurations are still valid. For more information, see OpenEdge Getting Started: Installation and Configuration .
Note: If you always use the Progress Explorer, you never have to use these utilities.The
ASCONFIGutility displays the property settings associated with an AppServer configuration, and checks that the syntax and values are valid. You must run theASCONFIGutility locally on the machine on which the AppServer is running. The utility does not run across the network.This is the syntax used to invoke the
ASCONFIGutility:
For more information on the
ASCONFIGutility, see the "ASCONFIG" section and the "Summary of management tasks" section.The following command validates the syntax and views the configurations of all AppServer instances defined within the
test.propertiesfile located in the current working directory:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |